package cn.itcast.service;

import cn.itcast.domain.delivery.Order;

import javax.ws.rs.*;

@Path("/order")
public interface OrderService {
    //保存order信息
    @Path("/save")
    @POST
    @Produces({"application/xml", "application/json"})
    @Consumes({"application/xml", "application/json"})
    public void saveOrder(Order order);

    Order findOrderByNum(String orderNum);
}
